package com.enjoyor.soa.traffic.server.efoms.dubbo.invoke;

import org.springframework.stereotype.Component;

import com.alibaba.dubbo.config.annotation.Reference;
import com.enjoyor.soa.traffic.api.service.dubbo.vms.IDubboLedStatusInfoService;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

@Component
public class DubboLedStatusInfoServiceInvoke {

	@Reference(timeout = 10000)
    private IDubboLedStatusInfoService dubboLedStatusInfoService ;

    /**
     * 获取诱导屏状态信息
     * @return
     */
    public ResultPojo getLedStatusInfo() {
    	ResultPojo pojo = new ResultPojo();
    	if (null != dubboLedStatusInfoService) {
    		pojo = dubboLedStatusInfoService.getLedStatusInfo();
    	}
        return pojo;
    }
}
